package com.skydonkey.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.util.Date;

public class AccountInfoResp {

    private Long uid;    //uid
    private String username;    //用户名
    private String nickname;    //昵称

    @JsonFormat(
            shape=JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8")
    private Timestamp createTime;  //创建时间
    private String headPicUrl;  //头像url

    @JsonFormat(pattern="yyyy-MM-dd")
    private Date birthday;  //生日
    private String briefIntroduction;   //简介
    private String signature;   //个性签名
    private String sex; //性别
    private String province;    //省/市
    private String county;  //区/县

    public Long getUid() {
        return uid;
    }

    public AccountInfoResp setUid(Long uid) {
        this.uid = uid;
        return this;
    }

    public String getNickname() {
        return nickname;
    }

    public AccountInfoResp setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public AccountInfoResp setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getHeadPicUrl() {
        return headPicUrl;
    }

    public AccountInfoResp setHeadPicUrl(String headPicUrl) {
        this.headPicUrl = headPicUrl;
        return this;
    }

    public Date getBirthday() {
        return birthday;
    }

    public AccountInfoResp setBirthday(Date birthday) {
        this.birthday = birthday;
        return this;
    }

    public String getBriefIntroduction() {
        return briefIntroduction;
    }

    public AccountInfoResp setBriefIntroduction(String briefIntroduction) {
        this.briefIntroduction = briefIntroduction;
        return this;
    }

    public String getSignature() {
        return signature;
    }

    public AccountInfoResp setSignature(String signature) {
        this.signature = signature;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public AccountInfoResp setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getProvince() {
        return province;
    }

    public AccountInfoResp setProvince(String province) {
        this.province = province;
        return this;
    }

    public String getCounty() {
        return county;
    }

    public AccountInfoResp setCounty(String county) {
        this.county = county;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public AccountInfoResp setUsername(String username) {
        this.username = username;
        return this;
    }

    @Override
    public String toString() {
        return "AccountInfoResp{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", createTime=" + createTime +
                ", headPicUrl='" + headPicUrl + '\'' +
                ", birthday=" + birthday +
                ", briefIntroduction='" + briefIntroduction + '\'' +
                ", signature='" + signature + '\'' +
                ", sex='" + sex + '\'' +
                ", province='" + province + '\'' +
                ", county='" + county + '\'' +
                '}';
    }
}
